home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000084_news@columbia.edu_Thu Oct 12 03:57:06 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA27827
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 12 Oct 1995 14:50:48 -0400
  3. Received: by apakabar.cc.columbia.edu id AA11404
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 12 Oct 1995 14:50:47 -0400
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!gatech!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: "CLEAN" Telnet
  9. Message-Id: <1995Oct12.095706.63503@cc.usu.edu>
  10. Date: 12 Oct 95 09:57:06 MDT
  11. References: <rburgess.87.307C1695@physiology.uwo.ca>
  12. Organization: Utah State University
  13. Lines: 49
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <rburgess.87.307C1695@physiology.uwo.ca>, rburgess@physiology.uwo.ca (Ron Burgess) writes:
  17. > I need to capture  the clean text from several screens using Kermit.  If I 
  18. > connect to our VAX/VMS host  and log the session to a redirected printer 
  19. > file, everything works.  If I connect to a Unix host I get all the ANSI escape 
  20. > codes embedded in the file NO MATTER WHAT I DO.
  21. >       If I connect to the Unix host with the terminal type set  to none, the 
  22. > screen displays all the codes that end up in the file. I know absolutely 
  23. > nothing about Unix,  but it seems to me that the Unix host is defaulting to 
  24. > one particular terminal type and sending the codes for it .  Is there anything 
  25. > I can do to remedy this ???
  26. >  Thanks for all the help.
  27. --------------
  28.  
  29.     There are two ways of printing during VTxxx terminal emulation,
  30. as described briefly below from distribution file MSVIBM.VT. The codes
  31. are those received by the terminal emulator.
  32.  
  33.  CSI Pn i    MC        Printer controls (Media Copy)
  34.             Pn    
  35.             0    Print whole Screen
  36.             4    Exit printer controller (transparent print)
  37.             5    Enter printer controller (transparent print)
  38.  
  39. Transparent printing sends all output, except the CSI 4 i termination string,
  40. to the printer and not the screen, uses an 8-bit channel if no parity so NUL
  41. and DEL will be seen by the printer and by the termination recognizer code,
  42. and all translation and character set selections are bypassed.
  43.  
  44.  CSI ? Pn i    MC        DEC Printer controls (Media Copy)
  45.             Pn
  46.             1    Print line containing cursor
  47.             4    Exit autoprint (stop echoing to printer)
  48.             5    Enter autoprint (echo screen chars to printer)
  49.  
  50. Autoprint prints a final display line only when the cursor is moved off the
  51. line by an autowrap or LF, FF,    or VT (otherwise do not print the line).
  52.  
  53.  
  54.  
  55.     The keyboard verb \Kprtscn (defaults to Control-PrintScrn key combo)
  56. also invokes controller printing (the line by line flavor). It's a toggle.
  57. You can redirect printing by Kermit command SET PRINTER <new device or file
  58. name>.
  59.     LOG SESSION is NOT a printing method. It is a total capture of the 
  60. incoming data stream.
  61.         For your Unix system I strongly recommend talking with its system
  62. manager. Be sure the terminal type matches that being emulated by Kermit.
  63.     Joe D.